﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="${site.theme_dir}css/AllComments.css" rel="stylesheet"
          type="text/css" />
    <link href="${site.theme_dir}css/init.css" rel="stylesheet" type="text/css" />
    <link href="${site.theme_dir}css/head.css" rel="stylesheet" type="text/css" />
    
    <title>${product.ProductName}-查看全部评论</title>
</head>
<body>
    <div id="page">
        #parse("shared/_incs/_header.html")
        <div class="content">
            <a href="Integral.aspx">
                <img src="${site.theme_dir}images/AllComments/banner.gif" width="950" height="80" />
            </a>
            <div class="left">
                <div class="Merchandise">
                    <a href="${url.index}product-details-${product.ID}.aspx" class="a_01">
                        <img src="${product.ProductBigPic}" width="150" height="205" />
                    </a><a href="${url.index}product-details-${product.ID}.aspx"
                           class="gray">${product.ProductName}</a><br />
                    <a class="gray_no">市场价：￥${product.ProductMarketPrice}</a><span class="red">团购价：￥${product.ProductMemberPrice}</span>
                    <input type="button" name="button" id="button" value="" class="button01" />
                    <input type="button" name="button2" id="button2" value="" class="button02" onclick="location.href='/member/Temporary.aspx?productid=${product.ID}'" />
                </div>
                <ul class="ul04">
                    <h2>
                        我浏览过的管理
                    </h2>
                    <mm:getUserBrowseProductList ID="getUserBrowseProductList" runat="server" />
                    <div class="clear">
                    </div>
                </ul>
            </div>
            <form id="form1" runat="server">
                <div class="right">
                    <div class="right_top">
                        <strong class="name">产品评论：${product.ProductName}</strong> <span class="date">
                            评论时间：<select name="select"
                                         id="select">
                                <option>最新评论</option>
                                <option>最早评论</option>
                            </select>
                        </span>
                        <input type="button" name="button3" id="button3" value="" class="button03" />
                    </div>
                    <div class="point">
                        <div class="point_top">
                            综合评价：<img src="${site.theme_dir}images/AllComments/huangguan_lan.gif" width="16" height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan.gif" width="16" height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan.gif"
                                                                                                                                                                                                                                width="16" height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan.gif" width="16"
                                                                                                                                                                                                                                                              height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan.gif" width="16" height="16" />
                        </div>
                        <ul class="point_ul">
                            <li>
                                <span class="span_01">
                                    <img src="${site.theme_dir}images/AllComments/huangguan_lan.gif" width="16" height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan.gif"
                                                                                                                                      width="16" height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan.gif" width="16"
                                                                                                                                                                    height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan.gif" width="16" height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan.gif" width="16" height="16" />
                                </span><span class="span_02">
                                    <img src="${site.theme_dir}images/AllComments/bg_jb.gif" width="78" height="8" />${ this.Get_Post(product.ID,"1","1")}
                                </span>
                            </li>
                            <li>
                                <span class="span_01">
                                    <img src="${site.theme_dir}images/AllComments/huangguan_lan.gif" width="16" height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan.gif"
                                                                                                                                      width="16" height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan.gif" width="16"
                                                                                                                                                                    height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan.gif" width="16" height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan02.gif" width="16" height="16" />
                                </span><span class="span_02"><img src="${site.theme_dir}images/AllComments/bg_jb.gif" width="78" height="8" />${ this.Get_Post(product.ID,"2","1")}</span>
                            </li>
                            <li>
                                <span class="span_01">
                                    <img src="${site.theme_dir}images/AllComments/huangguan_lan.gif" width="16" height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan.gif"
                                                                                                                                      width="16" height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan.gif" width="16"
                                                                                                                                                                    height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan02.gif" width="16" height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan02.gif" width="16" height="16" />
                                </span><span class="span_02"><img src="${site.theme_dir}images/AllComments/bg_jb.gif" width="78" height="8" />${ this.Get_Post(product.ID,"3","1")}</span>
                            </li>
                        </ul>
                    </div>
                    <div class="point">
                        <div class="point_top">
                            外观：<img src="${site.theme_dir}images/AllComments/huangguan_lan.gif" width="16" height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan.gif" width="16" height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan.gif"
                                                                                                                                                                                                                              width="16" height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan.gif" width="16"
                                                                                                                                                                                                                                                            height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan.gif" width="16" height="16" />
                        </div>
                        <ul class="point_ul">
                            <li>
                                <span class="span_01">
                                    <img src="${site.theme_dir}images/AllComments/huangguan_lan.gif" width="16" height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan.gif"
                                                                                                                                      width="16" height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan.gif" width="16"
                                                                                                                                                                    height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan.gif" width="16" height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan.gif" width="16" height="16" />
                                </span><span class="span_02">
                                    <img src="${site.theme_dir}images/AllComments/bg_jb.gif" width="78" height="8" />${ this.Get_Post(product.ID,"1","2")}
                                </span>
                            </li>
                            <li>
                                <span class="span_01">
                                    <img src="${site.theme_dir}images/AllComments/huangguan_lan.gif" width="16" height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan02.gif"
                                                                                                                                      width="16" height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan02.gif" width="16"
                                                                                                                                                                    height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan02.gif" width="16" height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan02.gif" width="16" height="16" />
                                </span><span class="span_02"><img src="${site.theme_dir}images/AllComments/bg_jb.gif" width="78" height="8" />${ this.Get_Post(product.ID,"2","2")}</span>
                            </li>
                            <li>
                                <span class="span_01">
                                    <img src="${site.theme_dir}images/AllComments/huangguan_lan.gif" width="16" height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan02.gif"
                                                                                                                                      width="16" height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan02.gif" width="16"
                                                                                                                                                                    height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan02.gif" width="16" height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan02.gif" width="16" height="16" />
                                </span><span class="span_02"><img src="${site.theme_dir}images/AllComments/bg_jb.gif" width="78" height="8" />${ this.Get_Post(product.ID,"3","2")}</span>
                            </li>
                        </ul>
                    </div>
                    <div class="point">
                        <div class="point_top">
                            舒适度：<img src="${site.theme_dir}images/AllComments/huangguan_lan.gif" width="16" height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan.gif" width="16" height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan.gif"
                                                                                                                                                                                                                               width="16" height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan.gif" width="16"
                                                                                                                                                                                                                                                             height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan.gif" width="16" height="16" />
                        </div>
                        <ul class="point_ul">
                            <li>
                                <span class="span_01">
                                    <img src="${site.theme_dir}images/AllComments/huangguan_lan.gif" width="16" height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan.gif"
                                                                                                                                      width="16" height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan.gif" width="16"
                                                                                                                                                                    height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan.gif" width="16" height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan.gif" width="16" height="16" />
                                </span><span class="span_02">
                                    <img src="${site.theme_dir}images/AllComments/bg_jb.gif" width="78" height="8" />${ this.Get_Post(product.ID,"1","3")}
                                </span>
                            </li>
                            <li>
                                <span class="span_01">
                                    <img src="${site.theme_dir}images/AllComments/huangguan_lan.gif" width="16" height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan.gif"
                                                                                                                                      width="16" height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan.gif" width="16"
                                                                                                                                                                    height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan.gif" width="16" height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan02.gif" width="16" height="16" />
                                </span><span class="span_02"><img src="${site.theme_dir}images/AllComments/bg_jb.gif" width="78" height="8" />${ this.Get_Post(product.ID,"2","3")}</span>
                            </li>
                            <li>
                                <span class="span_01">
                                    <img src="${site.theme_dir}images/AllComments/huangguan_lan.gif" width="16" height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan.gif"
                                                                                                                                      width="16" height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan.gif" width="16"
                                                                                                                                                                    height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan02.gif" width="16" height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan02.gif" width="16" height="16" />
                                </span><span class="span_02"><img src="${site.theme_dir}images/AllComments/bg_jb.gif" width="78" height="8" />${ this.Get_Post(product.ID,"3","3")}</span>
                            </li>
                        </ul>
                    </div>
                    <div class="clear">
                    </div>
                    <div class="size">
                        <h2>
                            尺码
                        </h2>
                        <span>
                            偏小：${ this.Get_ShuShi(product.ID,"1")}%
                            <img src="${site.theme_dir}images/AllComments/huangguan_lan.gif" width="16" height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan02.gif"
                                                                                                                              width="16" height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan02.gif" width="16"
                                                                                                                                                            height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan02.gif" width="16" height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan02.gif" width="16" height="16" />
                        </span>
                        <span>
                            合适：${ this.Get_ShuShi(product.ID,"2")}%
                            <img src="${site.theme_dir}images/AllComments/huangguan_lan.gif" width="16" height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan.gif"
                                                                                                                              width="16" height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan.gif" width="16"
                                                                                                                                                            height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan.gif" width="16" height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan.gif" width="16" height="16" />
                        </span>
                        <span>
                            偏大：${ this.Get_ShuShi(product.ID,"3")}%
                            <img src="${site.theme_dir}images/AllComments/huangguan_lan.gif" width="16" height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan.gif"
                                                                                                                              width="16" height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan02.gif" width="16"
                                                                                                                                                            height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan02.gif" width="16" height="16" /><img src="${site.theme_dir}images/AllComments/huangguan_lan02.gif" width="16" height="16" />
                        </span>
                    </div>

                    <asp:Repeater ID="rpCommentList" runat="server">
                        <ItemTemplate>
                            <div class="pl_txet">
                                <div class="Subject">
                                    <h2><%#DataBinder.Eval(Container.DataItem,"CommentName")}</h2>
                                    <span>会员：<%#Get_UserInfo(DataBinder.Eval(Container.DataItem, "memberid")).UserName%></span><span>时间：<%#DataBinder.Eval(Container.DataItem,"AddDateTime")}</span>
                                </div>
                                <div class="clear">
                                </div>
                                <div class="pl_right"><%#DataBinder.Eval(Container.DataItem,"CommentContent")}</div>
                                <div class="pl_left">
                                    <ul>
                                        <li>颜色：灰色</li>
                                        <li>尺码：44</li>
                                        <li>数量：3件</li>
                                    </ul>
                                </div>
                                <div class="clear">
                                </div>
                            </div>
                        </ItemTemplate>
                    </asp:Repeater>
                    <webdiyer:AspNetPager ID="Pager" runat="server" AlwaysShow="True" CustomInfoHTML="共%PageCount%页，当前为第%CurrentPageIndex%页，每页%PageSize%条"
                                          FirstPageText="首页" HorizontalAlign="Right" LastPageText="尾页" NextPageText="下一页"
                                          OnPageChanged="Pager_PageChanged" PageIndexBoxType="DropDownList" PageSize="20"
                                          PrevPageText="上一页" ShowCustomInfoSection="Left" ShowPageIndexBox="Always" SubmitButtonText="Go"
                                          TextAfterPageIndexBox="页" TextBeforePageIndexBox="转到">
                    </webdiyer:AspNetPager>
                    <div class="clear">
                    </div>
                </div>
            </form>
        </div>
        <asp:MultiView ID="MultiViewList" runat="server">
            <asp:View ID="View1" runat="server">
                <form id="form2" runat="server">
                    <asp:Repeater ID="rpList" runat="server">
                        <ItemTemplate>
                            评论内容:<%#DataBinder.Eval(Container.DataItem, "CommentContent")%><br />
                            评价:<%#DataBinder.Eval(Container.DataItem, "Pmost")%>星<br />
                            回复内容:<%#DataBinder.Eval(Container.DataItem, "ReplyComment")%>
                        </ItemTemplate>
                    </asp:Repeater>
                    <webdiyer:AspNetPager ID="Pager" runat="server" AlwaysShow="True" CustomInfoHTML="共%PageCount%页，当前为第%CurrentPageIndex%页，每页%PageSize%条"
                                          FirstPageText="首页" HorizontalAlign="Right" LastPageText="尾页" NextPageText="下一页"
                                          OnPageChanged="Pager_PageChanged" PageIndexBoxType="DropDownList" PageSize="20"
                                          PrevPageText="上一页" ShowCustomInfoSection="Left" ShowPageIndexBox="Always" SubmitButtonText="Go"
                                          TextAfterPageIndexBox="页" TextBeforePageIndexBox="转到">
                    </webdiyer:AspNetPager>
                </form>
            </asp:View>
            <asp:View ID="View2" runat="server">
                <form id="form1" action="/product/recomment.aspx?lhpid=${pid}&laction=savecomment"
                      method="post">
                    <table id="EditTable" cellpadding="0" cellspacing="1">
                        <tr>
                            <td colspan="2">
                                管理评论
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 15%;">
                                内容
                            </td>
                            <td>
                                <textarea id="txtpCommentContent" cols="20" rows="2" name="txtpCommentContent"></textarea>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Email
                            </td>
                            <td>
                                <input id="txtpCommentEmail" type="text" name="txtpCommentEmail" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                名字
                            </td>
                            <td>
                                &nbsp;
                                <input id="txtpCommentUserName" name="txtpCommentUserName" type="text" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                选择星级
                            </td>
                            <td>
                                &nbsp;
                                <select id="ddlpmost" name="ddlpmost">
                                    <option value="0">选择星级</option>
                                    <option value="5">5</option>
                                    <option value="4">4</option>
                                    <option value="3">3</option>
                                    <option value="2">2</option>
                                    <option value="1">1</option>
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <td align="center" colspan="2">
                                <input id="Submit1" type="submit" value="发表品论" />
                            </td>
                        </tr>
                    </table>
                </form>
            </asp:View>
        </asp:MultiView>
        #parse("shared/_incs/_dismode.html")
        #parse("shared/_incs/_footer.html")
    </div>
</body>
</html>
